package com.example.joke.proxy

import android.util.Log

class BankEmployee(custom: Custom) : IOperate {

    private var mCustom: Custom? = custom

    override fun makeCard() {
        Log.d("bank---Employee：", "正在为您办理卡片")
        Log.d("bank---Employee：", "请输入密码")
        mCustom?.makeCard()
        Log.d("bank---Employee：", "卡片已办理完成")
        Log.d("bank---Employee：", "业务办理完成")

    }

    override fun changePwd() {
        Log.d("bank---Employee：", "请插入您的卡片")
        Log.d("bank---Employee：", "请输入修改密码")
        mCustom?.changePwd()
        Log.d("bank---Employee：", "密码已经修改完成")
        Log.d("bank---Employee：", "业务办理完成")

    }
}